# Content of app_name/wagtail_hooks.py
from wagtail import hooks
from django.conf import settings
from django.utils.html import format_html
from django.templatetags.static import static

# @hooks.register("insert_global_admin_css")
# def import_fontawesome_stylesheet():
#     elem = '<link rel="stylesheet" href="{}res/fontawesome/font-awesome.min.css">'.format(
#         settings.STATIC_URL
#     )
#     return format_html(elem)

# @hooks.register("insert_global_admin_js", order=100)
# def global_admin_js():
# 	"""Add /static/js/admin/easymde_custom.js to the admin."""
# 	return format_html('<script src="{}"></script>', static("js/easymde_custom.js"))